package com.wx.rabbitmq.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName MqConfig
 * @Author wx
 * @Description 队列信息配置
 * @Date 2018-11-25-21:53
 */
@Data
@Component
@ConfigurationProperties(prefix = "mq")
public class MqConfig {
    /**
     * 测试交换机名称
     */
    private String testExchangeName;
    /**
     * 测试交换机名称2
     */
    private String testExchangeName_2;
    /**
     * 测试路由key
     */
    private String testRoutingKey;

}
